AllowableIdentifiers
Defines a set of allowable identifiers for use in validation. Also supplies Suggestions to generate suggestion popups in-game.
NOTE: Expectation is that the predicate and supplier are based on matching sets of information; someone in theory could use the suppliers information to predicate an input, and the predicate could be used on a theoretical "parent" dataset of identifiers to derive the same contents as the supplier. Behavior may be undefined if this isn't the case.
Author
fzzyhmstrs
Since
0.2.0, added cache flag 0.5.0
Parameters
Predicate
Supplier
Boolean that determines if get calls are cached. This can improve performance on high volume calls where the data doesn't change in the background (like Registries, once populated).
See also
Constructors
Functions
Returns Suggestions based on the allowable identifier list and a choice validator
Validates the provided Identifier versus the provided Predicate